<template>
    <div class="bottom-bar">
      <input type="button" value="加入购物车" @click="addGwc">
    </div>
</template>

<script>
  export default {
    name: "DetailBottomBar",
    methods: {
      addGwc() {
        this.$emit('addGwc')
      }
    }
  }
</script>

<style scoped>
  .bottom-bar{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 49px;
  }

</style>
